
    <form  class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-inline">
                <select name="status" class="layui-select">
                    <option value=''>-- {:lang('全部')} --</option>
                    {foreach ['已禁用','已激活'] as $k=>$v}
                    {if $k eq input('status') && input('status')!=null}
                    <option selected value="{$k|default=''}">{$v|default=''}</option>
                    {else}
                    <option value="{$k|default=''}">{$v|default=''} </option>
                    {/if}{/foreach}
                </select>
            </div>
        </div>


        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
            <!--{if auth("add") }-->
            <button class='layui-btn layui-btn-sm'  data-modal='{:url("add")}'>新增</button>
            <!--{/if}-->
        </div>
    </form>


